package cn.com.greatwall.kafka.repository;

import java.util.Set;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cn.com.greatwall.kafka.domain.Cluster;

/**
 * @Author herw
 * @Time 2021-01-12 16:33:55
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
public interface ClusterRepository extends JpaRepository<Cluster, Long>, JpaSpecificationExecutor<Cluster> {
    /**
     * 根据Id删除
     * 
     * @param ids /
     */
    void deleteAllByIdIn(Set<Long> ids);
}
